package uml.behavioral.responsibility_chain.ext;

/**
 * 职责链--标准【实际环境中可结合数据库使用、结合前端可动态配置标准】
 * on 2023/2/1 14:25
 */
public class Standard {
    private int maxPrice;//单品最高价格
    private int minStock;//最低库存
    private int minQuality;//最低质量评分
    private String priceDesc;
    private String stockDesc;
    private String qualityDesc;

    public Standard(int price, int stock, int quality, String priceDesc, String stockDesc, String qualityDesc) {
        this.maxPrice = price;
        this.minStock = stock;
        this.minQuality = quality;
        this.priceDesc = priceDesc;
        this.stockDesc = stockDesc;
        this.qualityDesc = qualityDesc;
    }

    public int getMaxPrice() {
        return maxPrice;
    }

    public int getMinStock() {
        return minStock;
    }

    public int getMinQuality() {
        return minQuality;
    }

    public String getPriceDesc() {
        return priceDesc;
    }

    public String getStockDesc() {
        return stockDesc;
    }
    public String getQualityDesc() {
        return qualityDesc;
    }
}
